import re

s = """

http://www.interoem.com/messageinfo.asp?id=35
http://3995503.com/class/class09/news_show.asp?id=14
http://lib.wzmc.edu.cn/news/onews.asp?id=769
http://www.zy-ls.com/alfx.asp?newsid=377&id=6
http://www.fincm.com/newslist.asp?id=415
"""
# 此处有坑 http://www.interoem.com/.cn/messageinfo.asp?id=35

'''
http://www.interoem.com/
http://3995503.com/
http://lib.wzmc.edu.cn/
http://www.zy-ls.com/
http://www.fincm.com/
'''
p = 'http.+cn/|http.+com/'
# p = '(http.+(com/|cn/))'

res = re.findall(p, s)
print(res)
